const { getdata } = require('../service/lx')
module.exports = {
    async getlx(ctx, next) {
        const rudata = await getdata()
        if (rudata.length) {
            return ctx.body = {
                code: 200,
                msg: "获取成功！",
                data: rudata
            }
        }
    }
}